﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pay_My_Server.Support;
using Pay_My_Interface.Entity.Product;

namespace Pay_My_Server.Implements.Catalog
{
    class Catalog : ICatalog
    {
        string name;
        int id;
        List<IMenu> menus;
        Dictionary<IProduct, Location> products;

        public Catalog(int id, string name)
        {
            this.id = id;
            this.name = name;
            products = new Dictionary<IProduct, Location>();
            menus = new List<IMenu>();
        }
        List<IMenu> getMenus()
        {
            return menus;
        }

        Dictionary<IProduct, Location> getProducts(ICatalog catalog)
        {
            return products;
        }

        void removeCatalog()
        {
            //Don't understand what I have to do here :(
        }
    }
}
